package com.cn.hjsj.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.cn.hjsj.dao.IServiceTypeDao;
import com.cn.hjsj.pojo.ServiceType;
import com.cn.hjsj.service.IServiceTypeService;

@Component("serviceTypeService")
public class ServiceTypeServiceImpl implements IServiceTypeService{
	@Resource(name="serviceTypeDao")
	private IServiceTypeDao serviceTypeDao;

	@Override
	public List<ServiceType> getList(Map<String,Object> maps) {
		// TODO Auto-generated method stub
		return this.serviceTypeDao.getList(maps);
	}

	@Override
	public Integer getCount(Map<String,Object> maps) {
		// TODO Auto-generated method stub
		return this.serviceTypeDao.getCount(maps);
	}
	
}
